package com.dq.usercenter.service;

import com.dq.commonutils.dto.OrderUserVo;
import com.dq.usercenter.vo.UserMemberVo;

/**
 * @project: guli_parent
 * @ClassName: UcenterInfoMemberService
 * @author: dq
 * @creat: 2022/8/7 18:18
 */
public interface UcenterInfoMemberService {
    /**
     * 根据token获取数据
     * @param token
     * @return
     */
    UserMemberVo getUserInfo(String token);


    /**
     * 根据userId获取基本信息
     * @param userId
     * @return
     */
    OrderUserVo getOrderUserInfo(String userId);

    /**
     * 查询一天的总注册人数
     * @param day
     * @return
     */
    Integer findTotalRegisterCountFromOneDay(String day);
}
